/*
 * EmailValidator.java
 *
 * Created on 15 de Maio de 2007, 23:54
 *
 */

package net.sf.jOpinionPoll.tag.validator;

/**
 *
 * @author erico
 */
public class EmailValidator extends RegexValidator {
    
    /** Creates a new instance of EmailValidator
	* This confirms the RFC822 & RFC1035 specifications.
	*/
    public EmailValidator() {
        setExpressaoRegular("^[a-z0-9-~#&\\_]+(\\.[a-z0-9-~#&\\_]+)*@([a-z0-9-]+\\.)+[a-z]{2,5}$");
    }
}
